﻿using System;
using System.Collections.Generic;
using System.Text;
using AspNetCs.Model;
using System.Data;

namespace AspNetCs.IDAL
{
   public  interface ISaleNumber
    {
       int add(SaleNumber_Model model);
       SaleNumber_Model GetModel(DataRow dr);
       SaleNumber_Model GetModel(int id);
       /// <summary>
       /// 检查馆号是否存在
       /// </summary>
       /// <param name="model"></param>
       /// <returns></returns>
       int NumberIsTrue(SaleNumber_Model model);
       DataTable GetDataTable(string filter);

       /// <summary>
       /// 检查公墓编号是否存在
       /// </summary>
       /// <param name="model"></param>
       /// <returns></returns>
       DataTable GetNetMuIdDataTable(string filter);


       /// <summary>
       /// 检查宗祠编号是否存在
       /// </summary>
       /// <param name="model"></param>
       /// <returns></returns>
       DataTable GetAncestralHallIdDataTable(string filter);
    }
}
